<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
	<head>
		<title>SGE - TADS</title>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/main.css")">
		<link rel="shortcut icon" type="image/jpg" href="@routes.Assets.at("images/SESAP.jpg")">
		<script type="text/javascript">
			function validaForm() {
				if (document.form1.camp1.value == "") {
					alert("Campo Vazio. Insira um nome!")
					return false;
				} else {
					return true;
				}
			}
		</script>
</head>
<body>
	<div id="content">
		<div id="header">
		  <h1><a href="#">Sistema Gerenciador de Escalas</a><br/><em>Hospital Dr. Jos&eacute; Pedro Bezerra </em></h1>
		</div>
		<div id="page">
			<h2> -- Cadastro de Setor -- </h2><br/>
			<form name="form1" onsubmit="return validaForm()" action="/cadastrarSetor" >
			<label>Nome do Setor</label>
			<input type="text" name="NomeSetor" id="camp1"/>
			<button type="submit">Cadastrar</button>
			<a href="/chefeRH">>Voltar</a>				
		</div>
		<div id="foot">
			<p>SGE - Sistema Gerenciador de Escalas - Hospital Santa Catarina - v1.0 <br />
			<a href="http://www.saude.rn.gov.br/contentproducao/aplicacao/sesap/guia_saude/gerados/hospitalsantacatarina.asp"
			target="_blank">Hospital Dr. Jos&eacute; Pedro Bezerra (Santa Catarina)</a></p>
			<p>&copy; Copyright | Design by Jhoseph, Ana Priscila, Alexsandra e Sayonara</p>
		</div>
	  </div>
</body>
</html>